package com.cainiao.pojo;

/**
 * 
 * UsersUpgrade
 * 数据库表：users_upgrade
 */
public class UsersUpgrade {

    /**
     * 
     * 表字段 : users_upgrade.upgrade_id
     */
    private Integer upgradeId;

    /**
     * 用户id
     * 表字段 : users_upgrade.user_id
     */
    private Integer userId;

    /**
     * 商店id
     * 表字段 : users_upgrade.store_id
     */
    private Integer storeId;

    /**
     * 1-店主 2-督导 3-合伙人
     * 表字段 : users_upgrade.user_level_id
     */
    private Integer userLevelId;

    /**
     * 1-店主 2-督导 3-合伙人
     * 表字段 : users_upgrade.new_user_level
     */
    private Integer newUserLevel;

    /**
     * 上级id
     * 表字段 : users_upgrade.parent_id
     */
    private Integer parentId;

    /**
     * 新上级id
     * 表字段 : users_upgrade.new_parent_id
     */
    private Integer newParentId;

    /**
     * 0-申请升级 1-已同意 2-已拒绝
     * 表字段 : users_upgrade.status
     */
    private Byte status;

    /**
     * 申请时间
     * 表字段 : users_upgrade.apply_time
     */
    private Integer applyTime;

    /**
     * 申请取消时间
     * 表字段 : users_upgrade.cancel_time
     */
    private Integer cancelTime;

    /**
     * 申请说明
     * 表字段 : users_upgrade.apply_note
     */
    private String applyNote;

    /**
     * 拒绝原因
     * 表字段 : users_upgrade.refuse_reason
     */
    private String refuseReason;

    /**
     * 直属下属人数
     * 表字段 : users_upgrade.xs_count
     */
    private Integer xsCount;

    /**
     * 团队人数
     * 表字段 : users_upgrade.group_count
     */
    private Integer groupCount;

    /**
     * 获取  字段:users_upgrade.upgrade_id
     *
     * @return users_upgrade.upgrade_id, 
     */
    public Integer getUpgradeId() {
        return upgradeId;
    }

    /**
     * 设置  字段:users_upgrade.upgrade_id
     *
     * @param upgradeId the value for users_upgrade.upgrade_id, 
     */
    public void setUpgradeId(Integer upgradeId) {
        this.upgradeId = upgradeId;
    }

    /**
     * 获取 用户id 字段:users_upgrade.user_id
     *
     * @return users_upgrade.user_id, 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置 用户id 字段:users_upgrade.user_id
     *
     * @param userId the value for users_upgrade.user_id, 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取 商店id 字段:users_upgrade.store_id
     *
     * @return users_upgrade.store_id, 商店id
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * 设置 商店id 字段:users_upgrade.store_id
     *
     * @param storeId the value for users_upgrade.store_id, 商店id
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * 获取 1-店主 2-督导 3-合伙人 字段:users_upgrade.user_level_id
     *
     * @return users_upgrade.user_level_id, 1-店主 2-督导 3-合伙人
     */
    public Integer getUserLevelId() {
        return userLevelId;
    }

    /**
     * 设置 1-店主 2-督导 3-合伙人 字段:users_upgrade.user_level_id
     *
     * @param userLevelId the value for users_upgrade.user_level_id, 1-店主 2-督导 3-合伙人
     */
    public void setUserLevelId(Integer userLevelId) {
        this.userLevelId = userLevelId;
    }

    /**
     * 获取 1-店主 2-督导 3-合伙人 字段:users_upgrade.new_user_level
     *
     * @return users_upgrade.new_user_level, 1-店主 2-督导 3-合伙人
     */
    public Integer getNewUserLevel() {
        return newUserLevel;
    }

    /**
     * 设置 1-店主 2-督导 3-合伙人 字段:users_upgrade.new_user_level
     *
     * @param newUserLevel the value for users_upgrade.new_user_level, 1-店主 2-督导 3-合伙人
     */
    public void setNewUserLevel(Integer newUserLevel) {
        this.newUserLevel = newUserLevel;
    }

    /**
     * 获取 上级id 字段:users_upgrade.parent_id
     *
     * @return users_upgrade.parent_id, 上级id
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * 设置 上级id 字段:users_upgrade.parent_id
     *
     * @param parentId the value for users_upgrade.parent_id, 上级id
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取 新上级id 字段:users_upgrade.new_parent_id
     *
     * @return users_upgrade.new_parent_id, 新上级id
     */
    public Integer getNewParentId() {
        return newParentId;
    }

    /**
     * 设置 新上级id 字段:users_upgrade.new_parent_id
     *
     * @param newParentId the value for users_upgrade.new_parent_id, 新上级id
     */
    public void setNewParentId(Integer newParentId) {
        this.newParentId = newParentId;
    }

    /**
     * 获取 0-申请升级 1-已同意 2-已拒绝 字段:users_upgrade.status
     *
     * @return users_upgrade.status, 0-申请升级 1-已同意 2-已拒绝
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置 0-申请升级 1-已同意 2-已拒绝 字段:users_upgrade.status
     *
     * @param status the value for users_upgrade.status, 0-申请升级 1-已同意 2-已拒绝
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取 申请时间 字段:users_upgrade.apply_time
     *
     * @return users_upgrade.apply_time, 申请时间
     */
    public Integer getApplyTime() {
        return applyTime;
    }

    /**
     * 设置 申请时间 字段:users_upgrade.apply_time
     *
     * @param applyTime the value for users_upgrade.apply_time, 申请时间
     */
    public void setApplyTime(Integer applyTime) {
        this.applyTime = applyTime;
    }

    /**
     * 获取 申请取消时间 字段:users_upgrade.cancel_time
     *
     * @return users_upgrade.cancel_time, 申请取消时间
     */
    public Integer getCancelTime() {
        return cancelTime;
    }

    /**
     * 设置 申请取消时间 字段:users_upgrade.cancel_time
     *
     * @param cancelTime the value for users_upgrade.cancel_time, 申请取消时间
     */
    public void setCancelTime(Integer cancelTime) {
        this.cancelTime = cancelTime;
    }

    /**
     * 获取 申请说明 字段:users_upgrade.apply_note
     *
     * @return users_upgrade.apply_note, 申请说明
     */
    public String getApplyNote() {
        return applyNote;
    }

    /**
     * 设置 申请说明 字段:users_upgrade.apply_note
     *
     * @param applyNote the value for users_upgrade.apply_note, 申请说明
     */
    public void setApplyNote(String applyNote) {
        this.applyNote = applyNote == null ? null : applyNote.trim();
    }

    /**
     * 获取 拒绝原因 字段:users_upgrade.refuse_reason
     *
     * @return users_upgrade.refuse_reason, 拒绝原因
     */
    public String getRefuseReason() {
        return refuseReason;
    }

    /**
     * 设置 拒绝原因 字段:users_upgrade.refuse_reason
     *
     * @param refuseReason the value for users_upgrade.refuse_reason, 拒绝原因
     */
    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason == null ? null : refuseReason.trim();
    }

    /**
     * 获取 直属下属人数 字段:users_upgrade.xs_count
     *
     * @return users_upgrade.xs_count, 直属下属人数
     */
    public Integer getXsCount() {
        return xsCount;
    }

    /**
     * 设置 直属下属人数 字段:users_upgrade.xs_count
     *
     * @param xsCount the value for users_upgrade.xs_count, 直属下属人数
     */
    public void setXsCount(Integer xsCount) {
        this.xsCount = xsCount;
    }

    /**
     * 获取 团队人数 字段:users_upgrade.group_count
     *
     * @return users_upgrade.group_count, 团队人数
     */
    public Integer getGroupCount() {
        return groupCount;
    }

    /**
     * 设置 团队人数 字段:users_upgrade.group_count
     *
     * @param groupCount the value for users_upgrade.group_count, 团队人数
     */
    public void setGroupCount(Integer groupCount) {
        this.groupCount = groupCount;
    }
}